package com.skywolf.chem.match.common.enums;

import lombok.Data;

/**
 * 赛事状态
 * @Author sj
 * Date on 2021/9/26  9:44
 * @Version 1.0
 */
public enum MatchStatusEnum {
    //赛事状态 100->>待审核  101->>待发布  103->>审核未通过
    // 104->>活动未开始   105->>进行中   106->>已结束   107->>报名阶段   108->>活动过期
    AWAITING(100,"待审核"),
    PASS(101,"待发布"),
    NOT_PASS(103,"审核未通过"),
    NOT_START_APPLY(104,"活动未开始"),
    STARTING(105,"活动进行中"),
    FINISH(106,"活动已结束"),
    APPLY(107,"报名阶段"),
    PAST(108,"活动过期");

    private Integer status;
    private String name;

    MatchStatusEnum(final Integer status, final String name) {
        this.status = status;
        this.name = name;
    }

    public Integer getStatus() {
        return this.status;
    }
}
